//
//  HistoryModel.m
//  Double
//
//  Created by dllo on 15/5/28.
//  Copyright (c) 2015年 袁庆秋. All rights reserved.
//

#import "HistoryModel.h"

@implementation HistoryModel
- (instancetype)initWithHistoryId:(NSString *)Id HistoryName:(NSString *)Name HistoryPic:(NSString *)pic text:(NSString *)text
{
    self= [super init];
    if (self) {
        self.HistoryId = Id;
        self.HistoryName = Name;
        self.HistoryPic = pic;
        self.text = text;
    }
    return self;
}

+ (HistoryModel *)HistoryModelWithHistoryId:(NSString *)Id HistoryName:(NSString *)Name HistoryPic:(NSString *)pic text:(NSString *)text
{
    HistoryModel * model = [[HistoryModel alloc]initWithHistoryId:Id HistoryName:Name HistoryPic:pic text:text];
    return model;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
